package com.api.paramsVO;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @ClassName LoginParamsVO
 * @Description 小程序登录参数
 * @Date 2020/9/27 14:56
 * Create By Renbowen
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class LoginParamsVO implements Serializable {

    @NotNull(message = "code为空！")
    private String code;

    @NotNull(message = "消息密文为空！")
    private String encryptedData;

    @NotNull(message = "iv字符串为空！")
    private String iv;

    // 邀请人id
    private Long parentId;

}
